class CustomerHomeController < ApplicationController
=begin
  客户管理后台页面
=end
  def index

  end

=begin
  订单管理页面
=end

  def orders_index

  end

=begin
  菜肴管理页面
=end

  def dishes_index
    @dishes = Dish.paginate :page => params[:page], :per_page => 20,
    																		 :conditions => ['customer_id = ? ' , current_customer.id],
    																		 :order => 'created_at desc'
  end
end
